import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Flow from '@/components/Flow'
import Statistics from '@/components/Statistics'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      children:[
        {
          path:'Flow',
          name:'Flow',
          component:Flow
        },
        {
          path:'Statistics',
          name:'Statistics',
          component:Statistics
        }
      ]
    }
  ]
})
